<?php


class Blackbird_BannersController extends Zend_Controller_Action
{
	function clickAction()
	{
		$slug = $this->_getParam('slug');
		$model = new Blackbird_Model_Banners();
		$url = $model->fetchBannerRedirectionBySlug($slug);
		$this->_redirect($url, array('code' => 303));
	}
}

